from selenium.webdriver.common.by import By

from lagou_cekai.task3_1.thirteen_class_actual_combat.Page.Base_page import BasePage


class EleMainPage(BasePage):
    def tongxunlu(self):
        return self.driver.find_element(By.CSS_SELECTOR, "#menu_contacts")

    def tianjiachengyuan(self):
        return self.driver.find_element(By.XPATH,'//*[contains(text(),"添加成员")]')